class DeliverResult {
  String? id;
  String? phoneNumber;
  String? mailNo;
  String? dateTime;
  int? courierCompanyCode;
  String? displayAlias;
  bool? isSucceed;
  String? reason;

  DeliverResult({
    this.id,
    this.phoneNumber,
    this.mailNo,
    this.dateTime,
    this.courierCompanyCode,
    this.displayAlias,
    this.isSucceed,
    this.reason,
  });

  DeliverResult.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    phoneNumber = json['phoneNumber'];
    mailNo = json['mailNo'];
    dateTime = json['dateTime'];
    courierCompanyCode = json['courierCompanyCode'];
    displayAlias = json['displayAlias'];
    isSucceed = json['isSucceed'];
    reason = json['reason'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['phoneNumber'] = this.phoneNumber;
    data['mailNo'] = this.mailNo;
    data['dateTime'] = this.dateTime;
    data['courierCompanyCode'] = this.courierCompanyCode;
    data['displayAlias'] = this.displayAlias;
    data['isSucceed'] = this.isSucceed;
    data['reason'] = this.reason;
    return data;
  }
}
